<h1>Listing article_approvals</h1>

<table>
  <tr>
    <th>Article</th>
    <th>Comment</th>
    <th>Status</th>
    <th>User</th>
    <th>Deadline</th>
    <th></th>
    <th></th>
    <th></th>
  </tr>

<% @article_approvals.each do |article_approval| %>
  <tr>
    <td><%= article_approval.article_id %></td>
    <td><%= article_approval.comment %></td>
    <td><%= article_approval.status %></td>
    <td><%= article_approval.user_id %></td>
    <td><%= article_approval.deadline %></td>
    <td><%= link_to 'Show', article_approval %></td>
    <td><%= link_to 'Edit', edit_article_approval_path(article_approval) %></td>
    <td><%= link_to 'Destroy', article_approval, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New Article approval', new_article_approval_path %>
